package org.example.service;

import cn.jiyun.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.config.R;
import org.example.pojo.User;
import org.example.pojo.vo.LoginReqVo;

import java.util.List;

public interface UserService extends IService<User> {


    User login(User user);

    void register(User user);

    List<User> findAllPhone();

    R sendCode(String phone, String code) throws Exception;

    User checkPhone(User user);

    void updatePassword(User user);
}
